<template>
  <view class="container">
    <view class="title">填写您的基本信息</view>
    <view class="input-group">
      <input type="text" placeholder="姓名" v-model="name" />
      <input type="email" placeholder="邮箱" v-model="email" />
    </view>
    <button @click="submitInfo">提交</button>
  </view>
</template>

<script>
export default {
  data() {
    return {
      name: '',
      email: ''
    };
  },
  methods: {
    submitInfo() {
      // 提交用户信息逻辑
      console.log("提交信息", this.name, this.email);
      // 在此处加入实际的提交逻辑
      // 提交成功后导航到首页
      uni.navigateTo({
        url: '/pages/home/index'
      });
    }
  }
}
</script>

<style scoped>
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #333;
}

.title {
  font-size: 24px;
  color: white;
  margin-bottom: 40px;
}

.input-group input {
  width: 80%;
  padding: 12px;
  margin-bottom: 10px;
  border: none;
  border-radius:
